package com.fs.sys.domain.entity;

import com.baomidou.mybatisplus.annotation.IdType;
import com.baomidou.mybatisplus.annotation.TableId;
import com.baomidou.mybatisplus.annotation.TableName;
import lombok.Data;
import org.springframework.data.annotation.Id;

/**
 * 租户用户关系
 *
 * @author  LiuQi 2025/6/13-21:09
 * @version V1.0
 **/
@Data
@TableName("sys_tenant_user")
public class TenantUserEntity {
    @Id
    @TableId(type = IdType.AUTO)
    private Long id;

    /**
     * 租户id
     */
    private String tenantId;

    /**
     * 用户id
     */
    private String userId;
}
